package com.lin.zoo.service;

import com.lin.zoo.dao.ActivityDao;

public class ActivityService {
    private ActivityDao activityDao=new ActivityDao();//连接Dao

    public void delactivity(Object id){
        activityDao.delactivity(id);
    }//删除活动
    public void setIntroduce(Object id,String introduce){activityDao.setIntroduce(id,introduce);}//修改活动介绍
    public void setPark(Object id,String parkId){activityDao.setPark(id,parkId);}//修改活动所属园区
    public void setStart(Object id,String time){activityDao.setStart(id,time);}//修改活动开始时间
    public void setEnd(Object id,String time){activityDao.setEnd(id,time);}//修改活动结束时间

}
